package partner_system

import (
	"gitee.com/theegg/go-brick/app/modules/partner_api/partner_system/partner_system_api"
	"github.com/gin-gonic/gin"
)

func InitPartnerSystemRoute(routerGroup *gin.RouterGroup) {
	// 系统 - configure
	routerGroup.POST("/system/configures/list", partner_system_api.PartnerConfiguresList)
	routerGroup.POST("/system/configures/add", partner_system_api.PartnerConfiguresAdd)
	routerGroup.POST("/system/configures/detail", partner_system_api.PartnerConfiguresDetail)

	// 系统 - module
	routerGroup.POST("/system/modules/list", partner_system_api.SystemModuleList)
	routerGroup.POST("/system/modules/add", partner_system_api.SystemModuleAdd)
	routerGroup.POST("/system/modules/detail", partner_system_api.SystemModuleDetail)
	routerGroup.POST("/system/modules/del", partner_system_api.SystemModuleDel)
	routerGroup.POST("/system/modules/imageUpload", partner_system_api.SystemModuleImageUpload)
}
